#include "stdafx.h"
#include <stdio.h>
#include <conio.h>
#include <iostream>
#include <fstream>
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	FILE *f = NULL;
	f = fopen("input.txt","rt");
	const int MaxStringLength = 255;
	char  buf[MaxStringLength];
	FILE *f1 = NULL;
	f1 = fopen("output.cpp","wt");
	//fscanf(f, "%[^;];%d;%s", buf);
	while(!feof(f))
	{
		fscanf(f, "%s", buf);
		fprintf(f1, "\nprintf(\"%s\", \"%s\");", "%s", buf);
	}
	
	fclose(f);
	fclose(f1);

	system("Pause");
	return 0;
	
}

